package work728.work4;

public class Dog  {



  public static void main(String[] args) {
    Animal animal = new Animal() {
      @Override
      public void call(String name) {
        System.out.println(name+"不是人类！");
      }
    };
    animal.call("狗");
    animal.action("狗");
    String st = Animal.eat("狗");
    System.out.println(st);

  }
}
